//
//  APWorksModel.h
//  AqualPolo
//
//  Created by dong on 2024/5/4.
//

#import <Foundation/Foundation.h>
#import "YYModel.h"
#import "APCommentModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface APWorksModel : NSObject<YYModel>
@property (nonatomic, copy) NSString *worksId;

@property (nonatomic, copy) NSString *title;

@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *cover;

@property (nonatomic, copy) NSArray *images;

@property (nonatomic, copy) NSString *nickname;

@property (nonatomic, copy) NSString *userId;

@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, assign) NSInteger followNum;
@property (nonatomic, assign) bool upvote;
@property (nonatomic, assign) bool isCreate;
@property (nonatomic, assign) NSInteger ballType;
@property (nonatomic, assign) bool isBlock;
@property (nonatomic, copy) NSString *translateContent;
@property (nonatomic, assign) bool isFollow;
@property (nonatomic, strong) NSArray<APCommentModel *> *comments;


@end

@interface APUserWorksModel : NSObject<YYModel>
@property (nonatomic, strong) NSArray <APWorksModel *>*works;

@property (nonatomic, assign) NSInteger worksNum;

@property (nonatomic, copy) NSString *nickname;

@property (nonatomic, copy) NSString *userId;

@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, assign) NSInteger followNum;
@end




NS_ASSUME_NONNULL_END
